<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
</head>
<style>
button{
    margin: 10px;
}
</style>
<body>
<div id="app"></div>

<script src="node_modules/@babel/standalone/babel.js"></script>
<script src="node_modules/react/umd/react.development.js"></script>
<script src="node_modules/react-dom/umd/react-dom.development.js"></script>


<script type="text/babel">

function bindWay(a,b,c,d,e,f) {
    console.log(a,b,c)  //1,2，3
    console.log(d,e,f)  //4,5,6
}

var newfn=bindWay.bind(this,1,2,3)
//前面的已经被占用了，band会预先占用前面的参数
newfn(4,5,6)
// bindWay('a','b','c')
</script>
    
</body>
</html>